{$MODE DELPHI}
{$MACRO ON}
{$PACKRECORDS C}
{$DEFINE USE_INLINE}
{$MINENUMSIZE 4}

{$IFDEF CPUx86_64}
  {$IFNDEF WINDOWS}
    {$PIC ON}
  {$ENDIF}
{$ENDIF}

{$IF ( FPC_VERSION < 2 ) or ( ( FPC_VERSION = 2 ) and ( FPC_RELEASE < 4 ) )}
  {$INFO 'Update your FreePascal, please.'}
{$IFEND}

{$IF ( FPC_VERSION = 2 ) and ( FPC_RELEASE >= 4 ) }
  {$DEFINE X_TRUE := 1}
  {$DEFINE X_FALSE := 0}
{$ELSE}
  {$DEFINE X_TRUE := 1}
  {$DEFINE X_FALSE := FALSE}
{$IFEND}

{$IF ( FPC_VERSION = 2 ) and ( FPC_RELEASE >= 5 ) }
  {$DEFINE NAME_MANGLING}
{$IFEND}
